<template>
  <div id="app">
    <el-container style="height: 100%">
      <el-aside width="auto">
        <CommonAside />
      </el-aside>
      <el-container>
        <el-header>
          <CommonHeader />
        </el-header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import CommonAside from "./components/CommonAside.vue";
import CommonHeader from "./components/CommonHeader.vue";

export default {
  name: "App",
  components: {
    CommonAside,
    CommonHeader,
  },
  data() {
    return {};
  },
  methods: {}, //methods
};
</script>

<style lang="less" scoped>
#app {
  height: 100vh;
}
.el-header {
  background-color: rgb(19, 17, 17);
}
.el-main {
  padding-top: 0px;
}
</style>
